
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

CREATE PROCEDURE [dbo].gspAccessRole_INSERT
(
@name AS nvarchar(50) = null,
@description AS nvarchar(250) = null,
@isDeleted AS bit = null,
@createDate AS datetime = null,
@lastModifiedDate AS datetime = null
)
AS

INSERT INTO
  [dbo].[AccessRole]
(
  [Name],
  [Description],
  [IsDeleted],
  [CreateDate],
  [LastModifiedDate]
)
VALUES
(
  @name,
  @description,
  @isDeleted,
  @createDate,
  @lastModifiedDate
)

SELECT SCOPE_IDENTITY()

GO
